package com.lnking.lnkingplace.service;

import com.lnking.common.http.ReturnResult;
import com.lnking.lnkingplace.model.login.LoginCompareRequest;
import com.lnking.lnkingplace.model.login.LoginRequest;
import com.lnking.lnkingplace.model.login.PasswordRequest;
import com.lnking.lnkingplace.model.login.SmsLoginRequest;

import javax.validation.Valid;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sn
 * @since 2022-07-14
 */
public interface ILoginService {

    /**
     * 创建
     * @param params
     */
    ReturnResult login(LoginRequest params) throws Exception;

    void find(LoginCompareRequest params);

    ReturnResult smsLogin( SmsLoginRequest params);

    ReturnResult smsPhone(SmsLoginRequest params);

    void setPassword(PasswordRequest params);
}
